package cn.jiedanba.cacert.model;

import java.io.Serializable;
import java.util.Date;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 根证书crl
 * 
 * @author
 */

@Data
@Table("tb_root_crl")
@Accessors(chain = true)
public class RootCrl implements Serializable {
	@Id(keyType = KeyType.Generator, value = "snowflake")
	private String id;

	/**
	 * 根证书id
	 */
	private String rootId;

	/**
	 * 证书名称
	 */
	private String certName;

	/**
	 * 生效时间
	 */

	private Date startDate;

	/**
	 * 下次更新时间
	 */

	private Date nextUpdateDate;

	/**
	 * 签名算法
	 */
	private String signAlgorithm;

	/**
	 * 创建时间
	 */

	private Date createDate;

	/**
	 * 更新时间
	 */

	private Date updateDate;

	/**
	 * crl
	 */
	private String crlFile;

	private static final long serialVersionUID = 1L;

}